package com.hx.vending.dao;

import com.hx.vending.bean.EquipmentType;
import com.hx.vending.bean.EquipmentTypeCase;
import com.hx.vending.bean.EquipmentTypeRise;
import com.hx.vending.bean.entity.EquipmentTypeVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2019/1/12.
 * 设备类型
 */
@Repository
public interface EquipmentTypeMapper {

    int deleteByPrimaryKey(Integer equipmentTypeId);

    EquipmentType selectByPrimaryKeySelective(EquipmentType record);

    List<EquipmentType> selectByExampleSelective(EquipmentType record);

    int updateByPrimaryKeySelective(EquipmentType record);

    int insertEquipmentType(EquipmentType equipmentType);

    int insertEquipmentCase(EquipmentTypeCase equipmentTypeCase);

    EquipmentTypeCase selectCaseByExample(EquipmentTypeCase equipmentTypeCase);

    List<EquipmentType> getEquipmentTypeBycondition(@Param("typeName") String typeName,@Param("pageNum") Integer pagrNum);

    Integer selectEquipmentTypeNum(@Param("typeName") String typeName);

}
